.class public final LVitxI/jtHon/xDjdg/XFXGg;
.super Ljava/lang/Object;

# interfaces
.implements LVitxI/XEZdo;


# instance fields
.field private final FiAFd:I

.field private LBhqe:I

.field private final XGpff:LVitxI/jtHon/xDjdg/oRFKi;

.field private final bXHjl:LVitxI/jtHon/KQisc/gQAvS;

.field private final cXJzx:LVitxI/norZp;

.field private final dSSVo:Ljava/util/List;

.field private final giJjc:LVitxI/CNfBX;


# direct methods
.method public constructor <init>(Ljava/util/List;LVitxI/jtHon/KQisc/gQAvS;LVitxI/jtHon/xDjdg/oRFKi;LVitxI/CNfBX;ILVitxI/norZp;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    iput-object p4, p0, LVitxI/jtHon/xDjdg/XFXGg;->giJjc:LVitxI/CNfBX;

    iput-object p2, p0, LVitxI/jtHon/xDjdg/XFXGg;->bXHjl:LVitxI/jtHon/KQisc/gQAvS;

    iput-object p3, p0, LVitxI/jtHon/xDjdg/XFXGg;->XGpff:LVitxI/jtHon/xDjdg/oRFKi;

    iput p5, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    iput-object p6, p0, LVitxI/jtHon/xDjdg/XFXGg;->cXJzx:LVitxI/norZp;

    return-void
.end method

.method private Ecxil(LVitxI/UuIeE;)Z
    .locals 2

    invoke-virtual {p1}, LVitxI/UuIeE;->qNTAw()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->giJjc:LVitxI/CNfBX;

    invoke-interface {v1}, LVitxI/CNfBX;->QXqCz()LVitxI/qBixa;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/qBixa;->wFCDT()LVitxI/EwvmC;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/EwvmC;->pIceg()LVitxI/UuIeE;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/UuIeE;->qNTAw()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, LVitxI/UuIeE;->esMAQ()I

    move-result v0

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->giJjc:LVitxI/CNfBX;

    invoke-interface {v1}, LVitxI/CNfBX;->QXqCz()LVitxI/qBixa;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/qBixa;->wFCDT()LVitxI/EwvmC;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/EwvmC;->pIceg()LVitxI/UuIeE;

    move-result-object v1

    invoke-virtual {v1}, LVitxI/UuIeE;->esMAQ()I

    move-result v1

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public ILvbf(LVitxI/norZp;LVitxI/jtHon/KQisc/gQAvS;LVitxI/jtHon/xDjdg/oRFKi;LVitxI/CNfBX;)LVitxI/AXLbC;
    .locals 8

    const/4 v7, 0x1

    iget v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_0
    iget v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->LBhqe:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->LBhqe:I

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->XGpff:LVitxI/jtHon/xDjdg/oRFKi;

    if-eqz v0, :cond_1

    invoke-virtual {p1}, LVitxI/norZp;->Sxznv()LVitxI/UuIeE;

    move-result-object v0

    invoke-direct {p0, v0}, LVitxI/jtHon/xDjdg/XFXGg;->Ecxil(LVitxI/UuIeE;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "network interceptor "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    iget v3, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    add-int/lit8 v3, v3, -0x1

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " must retain the same host and port"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->XGpff:LVitxI/jtHon/xDjdg/oRFKi;

    if-eqz v0, :cond_2

    iget v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->LBhqe:I

    if-le v0, v7, :cond_2

    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "network interceptor "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    iget v3, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    add-int/lit8 v3, v3, -0x1

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " must call proceed() exactly once"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_2
    new-instance v0, LVitxI/jtHon/xDjdg/XFXGg;

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    iget v2, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    add-int/lit8 v5, v2, 0x1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    move-object v6, p1

    invoke-direct/range {v0 .. v6}, LVitxI/jtHon/xDjdg/XFXGg;-><init>(Ljava/util/List;LVitxI/jtHon/KQisc/gQAvS;LVitxI/jtHon/xDjdg/oRFKi;LVitxI/CNfBX;ILVitxI/norZp;)V

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    iget v2, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, LVitxI/uCfsH;

    invoke-interface {v1, v0}, LVitxI/uCfsH;->JYYDJ(LVitxI/XEZdo;)LVitxI/AXLbC;

    move-result-object v2

    if-eqz p3, :cond_3

    iget v3, p0, LVitxI/jtHon/xDjdg/XFXGg;->FiAFd:I

    add-int/lit8 v3, v3, 0x1

    iget-object v4, p0, LVitxI/jtHon/xDjdg/XFXGg;->dSSVo:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_3

    iget v0, v0, LVitxI/jtHon/xDjdg/XFXGg;->LBhqe:I

    if-eq v0, v7, :cond_3

    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "network interceptor "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " must call proceed() exactly once"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3
    if-nez v2, :cond_4

    new-instance v0, Ljava/lang/NullPointerException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "interceptor "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " returned null"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_4
    return-object v2
.end method

.method public UpUqm()LVitxI/jtHon/xDjdg/oRFKi;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->XGpff:LVitxI/jtHon/xDjdg/oRFKi;

    return-object v0
.end method

.method public XLbVf()LVitxI/jtHon/KQisc/gQAvS;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->bXHjl:LVitxI/jtHon/KQisc/gQAvS;

    return-object v0
.end method

.method public nhQZr()LVitxI/norZp;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->cXJzx:LVitxI/norZp;

    return-object v0
.end method

.method public plghA()LVitxI/CNfBX;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->giJjc:LVitxI/CNfBX;

    return-object v0
.end method

.method public qJDKr(LVitxI/norZp;)LVitxI/AXLbC;
    .locals 3

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XFXGg;->bXHjl:LVitxI/jtHon/KQisc/gQAvS;

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XFXGg;->XGpff:LVitxI/jtHon/xDjdg/oRFKi;

    iget-object v2, p0, LVitxI/jtHon/xDjdg/XFXGg;->giJjc:LVitxI/CNfBX;

    invoke-virtual {p0, p1, v0, v1, v2}, LVitxI/jtHon/xDjdg/XFXGg;->ILvbf(LVitxI/norZp;LVitxI/jtHon/KQisc/gQAvS;LVitxI/jtHon/xDjdg/oRFKi;LVitxI/CNfBX;)LVitxI/AXLbC;

    move-result-object v0

    return-object v0
.end method
